package com.tb.v1.common.base;

import java.util.List;

/**
 * @author: tangBin
 * @Date: 2020/6/4 0004 12:05
 * @Description:
 */
public interface IBaseDao<T> {
    T getEntityById(Long id);
    List<T> getAll();
    int deleteEntity(Long id);
    int saveEntity(T t);
    int updateEntity(T t);
}
